package org.jxht.dto;

import org.jxht.util.BaseDto;

/**
 * Created by huang on 2017/3/2 0002.
 */
public class AdminDto extends BaseDto{

    private int admId = 0;

    private String admPwd;

    private String admName;

    private int admWar = 0;

    private int teaId = 0;

    private int electiveYn;

    public AdminDto() {
    }

    public AdminDto(int admId) {
        this.admId = admId;
    }

    public AdminDto(int admId, String admPwd, String admName) {
        this.admId = admId;
        this.admPwd = admPwd;
        this.admName = admName;
    }

    public long getAdmId() {
        return admId;
    }

    public void setAdmId(int admId) {
        this.admId = admId;
    }

    public String getAdmPwd() {
        return admPwd;
    }

    public void setAdmPwd(String admPwd) {
        this.admPwd = admPwd;
    }

    public String getAdmName() {
        return admName;
    }

    public void setAdmName(String admName) {
        this.admName = admName;
    }

    public int getAdmWar() {
        return admWar;
    }

    public void setAdmWar(int admWar) {
        this.admWar = admWar;
    }

    public int getTeaId() {
        return teaId;
    }

    public void setTeaId(int teaId) {
        this.teaId = teaId;
    }

    public int getelectiveYn() {
        return electiveYn;
    }

    public void setelectiveYn(int electiveYn) {
        this.electiveYn = electiveYn;
    }

    @Override
    public String toString() {
        return "AdminDto{" +
                "admId=" + admId +
                ", admPwd='" + admPwd + '\'' +
                ", admName='" + admName + '\'' +
                ", admWar=" + admWar +
                ", teaId=" + teaId +
                '}';
    }
}
